home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / mac / Code / Chapter04 / test6.s3d < prev    next >
Text File  |  2000-07-27  |  1KB  |  44 lines

  1.  
  2. DEF Box01 Transform {
  3.    translation 0 0 0
  4.    children [
  5.       Shape {
  6.          appearance [
  7.             MultiAppearance {
  8.                material Material {
  9.                   diffuseColor 0.03137 0.4314 0.5255
  10.                }
  11.             }
  12.          ]
  13.          geometry MultiMesh {
  14.             coord DEF Box01-COORD Coordinate {
  15.                point [
  16.                    0       0   70.71
  17.                   70.71    0    0 
  18.                  -70.71    0    0 
  19.                    0       0  -70.71 
  20.                    0     100   70.71 
  21.                   70.71  100    0 
  22.                  -70.71  100    0 
  23.                    0     100  -70.71
  24.                ]
  25.             }
  26.             coordIndex [
  27.                0 2 3 -1
  28.                3 1 0 -1
  29.                4 5 7 -1
  30.                7 6 4 -1
  31.                0 1 5 -1
  32.                5 4 0 -1
  33.                1 3 7 -1
  34.                7 5 1 -1
  35.                3 2 6 -1
  36.                6 7 3 -1
  37.                2 0 4 -1
  38.                4 6 2 -1
  39.             ]
  40.          }
  41.       }
  42.    ]
  43. }
  44.